package md.mru.transfer.old.domain;


import javax.persistence.*;
import java.io.Serializable;

/**
 * studii
 */
@Entity
@Table(name="STD" , schema = "mru"
)
public class Std implements Serializable {

    @Id
    @Column(name = "ID", unique = true, nullable = false, precision = 10, scale = 0)
    private long id;

    @JoinColumn(name = "STD")
    @Column(name = "STD")
    private long educationStudy;//studiile

    @JoinColumn(name = "SPC")
    @Column(name = "SPC")
    private long educationSpecialty;//specialitatea

    @JoinColumn(name = "CTG")
    @Column(name = "CTG")
    private long educationCategory;//categoria

    @Column(name = "ITT", length = 50)
    private String institutionName;//institutia de invatamint

    @Column(name = "YER", precision = 10, scale = 0)
    private int graduationYear;//anul absolvirii

    @Column(name = "BSE", precision = 1, scale = 0)
    private Boolean basic;

    @Column(name = "DSR", precision = 10, scale = 0)
    private long folder;//dosar

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getEducationStudy() {
        return educationStudy;
    }

    public void setEducationStudy(long educationStudy) {
        this.educationStudy = educationStudy;
    }

    public long getEducationSpecialty() {
        return educationSpecialty;
    }

    public void setEducationSpecialty(long educationSpecialty) {
        this.educationSpecialty = educationSpecialty;
    }

    public long getEducationCategory() {
        return educationCategory;
    }

    public void setEducationCategory(long educationCategory) {
        this.educationCategory = educationCategory;
    }

    public String getInstitutionName() {
        return institutionName;
    }

    public void setInstitutionName(String institutionName) {
        this.institutionName = institutionName;
    }

    public int getGraduationYear() {
        return graduationYear;
    }

    public void setGraduationYear(int graduationYear) {
        this.graduationYear = graduationYear;
    }

    public Boolean getBasic() {
        return basic;
    }

    public void setBasic(Boolean basic) {
        this.basic = basic;
    }

    public long getFolder() {
        return folder;
    }

    public void setFolder(long folder) {
        this.folder = folder;
    }
}


